//
//  ZZProgressView.m
//  ZZBlue
//
//  Created by stonesMonkey on 2017/9/12.
//  Copyright © 2017年 stonesMonkey. All rights reserved.
//

#import "ZZProgressView.h"

@interface ZZProgressView()


@end

@implementation ZZProgressView

- (void)awakeFromNib {
    
    [super awakeFromNib];
    
    [self.slider addTarget:self action:@selector(valueChange) forControlEvents:UIControlEventValueChanged];
}

- (void)valueChange {
    
    CGFloat value = self.slider.value;
    
    if (self.sliderValueChange) {
        
        self.sliderValueChange(value);
    }
}

@end
